from app import create_app, db
from app.recipes.models import Recipe

# 创建应用实例
app = create_app()

with app.app_context():
    recipes = Recipe.query.all()
    print('存在的菜谱ID:', [recipe.id for recipe in recipes])